export let isAfter = require("date-fns/is_after");
export let isBefore = require("date-fns/is_before");
export let isEqual = require("date-fns/is_equal");
export let max = require("date-fns/max");
export let min = require("date-fns/min");
export let parse = require("date-fns/parse");
export let getTime = require("date-fns/get_time");
export let isThisHour = require("date-fns/is_this_hour");
export let isThisQuarter = require("date-fns/is_this_quarter");
export let isThisWeek = require("date-fns/is_this_week");
export let isThisMonth = require("date-fns/is_this_month");
export let isThisYear = require("date-fns/is_this_year");
export let format = require("date-fns/format");
export function getAMPM(date, pm = 'pm', am = 'am') {
    let hours = date.getHours();
    let minutes = date.getMinutes();
    let ampm = hours >= 12 ? pm : am;
    return ampm;
}